#hello world
# from langchain.llms import OpenAI
from langchain_openai import ChatOpenAI
import os

api_key = os.getenv("OPENAI_API_KEY")
api_base = os.getenv("OPENAI_API_BASE")

llm = ChatOpenAI(
    model="gpt-3.5-turbo",
    temperature=0,
    max_retries=2,
    api_key=api_key,
    base_url=api_base,
)

res = llm.invoke("介绍下你自己")

print(res.content)
